<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html lang="zh-cn">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="renderer" content="webkit">
<title></title>
  <link rel="stylesheet" href="${pageContext.request.contextPath}/static/css/pintuer.css">
  <link rel="stylesheet" href="${pageContext.request.contextPath}/static/css/admin.css">
  <script type="text/javascript" src="${pageContext.request.contextPath}/static/js/jquery-1.12.4.js"></script>
  <script src="${pageContext.request.contextPath}/static/js/pintuer.js"></script>

</head>
<body>
<div class="panel admin-panel">
  <div class="panel-head" id="add"><strong><span class="icon-pencil-square-o"></span>修改内容</strong></div>
  <div class="body-content">
    <form method="post" class="form-x" action="${pageContext.request.contextPath}/xiu" enctype="multipart/form-data">
      <div class="form-group">
        <div class="label">
          <input type="text" style="display: none;" name="sid" value="${sh.sid}">
          <label>标题：</label>
        </div>
        <div class="field">
          <input type="text" class="input w50" value="${sh.stitle}" name="stitle" data-validate="required:请输入标题"/>
          <div class="tips"></div>
        </div>
      </div>
      <div class="form-group">
        <div class="label">
          <label>图片：</label>
        </div>
        <div class="field">


          <input type="file" class="button bg-blue margin-left" id="image1" value="+ 浏览上传" name="img1"  style="float:left;">
          <div class="tipss">图片尺寸：500*500</div>
        </div>
      </div>     
      
      <if condition="$iscid eq 1">
        <div class="form-group">
          <div class="label">
            <label>分类标题：</label>
          </div>
          <div class="field">
            <select name="sclassification" class="input w50">

              <option value="1">电子产品</option>
              <option value="2">男士时尚</option>
              <option value="3">女装时尚</option>
              <option value="4">手机配件</option>
              <option value="5">电脑配件</option>
            </select>
            <div class="tips"></div>
          </div>
        </div>

      </if>
      <div class="form-group">
        <div class="label">
          <label>库存：</label>
        </div>
        <div class="field">
          <input type="text" class="input w50" name="snum" value="${sh.snum}" data-validate="member:只能为数字"  />
          <div class="tips"></div>
        </div>
      </div>

      <div class="form-group">
        <div class="label">
          <label>价格：</label>
        </div>
        <div class="field">
          <input type="text" class="input w50" name="sprice" value="${sh.sprice}"  data-validate="member:只能为数字"  />
          <div class="tips"></div>
        </div>
      </div>
      <div class="form-group">
        <div class="label">
          <label>描述：</label>
        </div>
        <div class="field">
          <textarea class="input"  name="sdetails" style=" height:90px;" >${sh.sdetails}</textarea>
          <div class="tips"></div>
        </div>
      </div>


     
      <div class="clear"></div>







      <div class="form-group">
        <div class="label">
          <label></label>
        </div>
        <div class="field">
          <button class="button bg-main icon-check-square-o" type="submit">提交</button>
        </div>
      </div>
    </form>
  </div>
</div>

</body></html>